package com.ctshk.rpc.bus.dto.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 廖胤松
 * @create 2021-05-07
 */
@Data
@ApiModel(value="ArriveCityDTO对象", description="巴士首页检索到达城市DTO")
public class ArriveCityDTO implements Serializable {

    @ApiModelProperty(value = "到达城市id")
    private Long arriveCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "下车站点列表")
    private List<AlightingStationDTO> alightingStationDTOS;

    @Data
    @ApiModel(value="AlightingStationDTO对象", description="巴士首页检索到达站点DTO")
    public static class AlightingStationDTO implements Serializable {

        @ApiModelProperty(value = "下车站点id")
        private Long alightingStationId;

        @ApiModelProperty(value = "下车站点名称")
        private String alightingStationName;
    }
}
